Conversation
|
Invitation URL: |
Test Results 72 files 493 suites 0s ⏱️ Results for commit 98a69db. ♻️ This comment has been updated with latest results. |
|
@tpmanley |
|
Minimum allowed coverage is Generated by 🐒 cobertura-action against 98a69db |
First of all, I corrected all the errors. |
|
@ctowns |
|
@HunsupJung when you're setting up the test, you can make a mock device with the following profile Then run the test as normal. This will make the tested profile include the optional capability. You can add as many optional capabilities as you want in this way. |
| hex_string_to_octet_string(groupResolvingKey) | ||
| ) | ||
| ) | ||
| device:set_field(lock_utils.ALIRO_READER_CONFIG_UPDATED, true) |
There was a problem hiding this comment.
It might be worth checking the response of SetAliroReaderConfig before setting ALIRO_READER_CONFIG_UPDATED to true, since if the command fails then set_reader_config would never retry.
There was a problem hiding this comment.
There is no way to whether the ReaderConfig is set well in SetAliroReaderConfig command and response. So, I will move it to aliro_reader_verification_key_handler which is one of the ReaderConfig.
drivers/SmartThings/matter-lock/src/test/test_new_matter_lock_battery.lua
Outdated
Show resolved
Hide resolved
drivers/SmartThings/matter-lock/src/test/test_new_matter_lock_battery.lua
Outdated
Show resolved
Hide resolved
drivers/SmartThings/matter-lock/src/test/test_new_matter_lock_battery.lua
Outdated
Show resolved
Hide resolved
a90c386 to
b331d2d
Compare
|
@tpmanley |
|
Thanks for resolving my two comments. There are a couple of conflicts right now so what I'd recommend is squash and rebase your changes into a single commit on top of latest |
Signed-off-by: Hunsup Jung <hunsup.jung@samsung.com>
199cfbd to
98a69db
Compare
|
@tpmanley |
| end | ||
| end | ||
| end | ||
| match_profile(driver, device) |
There was a problem hiding this comment.
Due to the logic here, we should do ensure something like this is handled: #2750 (comment) before updating profiles, since this permits the possibility that some features may be disabled later, and we do not want to lose capabilities if that happens.
Type of Change
Checklist
Description of Change
Summary of Completed Tests